/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

import type { StringObjType } from '@/components/_pages/AmountApply/index.d';
import request from '@/utils/request';

// 获取驿站敏感词列表
export async function getMinGanCiList(params: any) {
  return request('/YzMinGanCiManage/getMinGanCiList', {
    method: 'POST',
    data: params,
  });
}

// 删除
export async function delMinGanCi(params: any) {
  return request('/YzMinGanCiManage/delMinGanCi', {
    method: 'POST',
    data: params,
  });
}

// 添加关键词
export async function addMinGanCi(params: StringObjType) {
  return request('/YzMinGanCiManage/addMinGanCi', {
    method: 'POST',
    data: params,
  });
}
